package cn.lls.service;

import cn.lls.entity.company.WageEntity;
import cn.lls.excel.WageExcel;
import cn.lls.req.emp.ConditionSearchWageExcelReq;
import cn.lls.req.emp.ConditionSearchWageReq;
import cn.lls.req.emp.PersonWageReq;
import cn.lls.req.emp.WageReq;
import cn.lls.vo.emp.WageInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 划水艺术家
 * @since 2022-11-15
 */
public interface IWageService extends IService<WageEntity> {

    /*
    分页、条件查询员工工资
     */
    IPage<WageInfo> getWageInfoByPageAndCondition(ConditionSearchWageReq conditionSearchWageReq);

    List<WageExcel> getWageExcel(ConditionSearchWageExcelReq conditionSearchWageReq);

    WageInfo getWageById(Long wageId);


    void saveWage(WageReq wageReq);

    void updateWage(WageReq wageReq);

    IPage<WageInfo> getWageByEmpId(PersonWageReq personWageReq);

}
